package cn.net.chenbao.medical.util;

import java.text.DecimalFormat;

/**
 * Created by 木头 on 2018/2/1.
 */

public class MyViewUtils {
    /***
     * Description:输出两位小数
     * @author ZXJ
     * @date 2016-8-6
     * @param d
     * @return
     */
    public static String numberFormatWithOne(double d) {
        DecimalFormat df = new DecimalFormat("0.0");
        return df.format(d);
    }
}
